﻿using System.Collections.Generic;
using System.Linq;

namespace Pap.Data
{
    /// <summary>
    /// 
    /// </summary>
    public partial class LoanIntstallmentWarning : ILoanInstallmentWarning
    {

        #region ILoanIntstallmentWarning Members


        /// <summary>
        /// Gets the loan installment warning attachments.
        /// </summary>
        IEnumerable<ILoanInstallmentWarningAttachment> ILoanInstallmentWarning.LoanInstallmentWarningAttachments
        {
            get { return this.LoanInstallmentWarningAttachments.OfType<ILoanInstallmentWarningAttachment>(); }
        }

        /// <summary>
        /// Gets the loan execution installment.
        /// </summary>
        ILoanExecutionInstallment ILoanInstallmentWarning.LoanExecutionInstallment
        {
            get { return this.LoanExecutionInstallment; }
        }

        #endregion
    }
}
